package com.joelbitar.switchctrl;

import java.util.ArrayList;

public class Response {
	private boolean success = true;
	private String reason; // Reason for not success
	private ArrayList<Device> devices = new ArrayList<Device>();
	
	private Request request;
	
	public Request getRequest() {
		return request;
	}
	public void setRequest(Request request) {
		this.request = request;
	}
	public boolean isSuccess() {
		return success;
	}
	public void setSuccess(boolean success) {
		this.success = success;
	}
	public String getReason() {
		return reason;
	}
	public void setReason(String reason) {
		this.reason = reason;
	}
	
	public ArrayList<Device> getDevices() {
		return devices;
	}
	public void setDevices(ArrayList<Device> devices) {
		this.devices = devices;
	}
}
